DescribeMasterSlaveServerGroupAttribute
Description
call DescribeMasterSlaveServerGroupAttribute query to specify the details of the primary and standby server group.
Request Method
POST
Request Path
/apsara/route/Slb/DescribeMasterSlaveServerGroupAttribute
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
MasterSlaveServerGroupId | BODY | string | Yes | rsp-cige6j**** | primary and standby server group ID. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
ServerType | string | Slave | server type, value:Master (default) or Slave. |
Type | string | ecs | backend server type, value: ecs:ECS instance (default). eni: ENI instance. |
ServerId | string | vm-hrf**** | ECS instance ID or ENI instance ID. |
Description | string | description of the primary and standby server group. | primary and standby server group description. |
RequestId | string | 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C | request ID. |
Port | integer | 90 | the port used by the backend server. |
MasterSlaveServerGroupId | string | rsp-cige6**** | primary and standby server group ID. |
MasterSlaveServerGroupName | string | Group1 | the name of the primary and standby server group. |
MasterSlaveBackendServer | No sample value for this parameter. | No description for this parameter. | |
MasterSlaveBackendServers | array of masterslavebackendserver | No sample value for this parameter. | list of primary and standby server groups. |
Weight | integer | 100 | the weight of the back-end server. |
Example
Successful Response example
{
"ServerType":"Slave",
"Type":"ecs",
"ServerId":"vm-hrf****",
"Description":"description of the primary and standby server group.",
"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
"Port":"90",
"MasterSlaveServerGroupId":"rsp-cige6****",
"MasterSlaveServerGroupName":"Group1",
"MasterSlaveBackendServer":"",
"MasterSlaveBackendServers":"",
"Weight":"100"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: DescribeMasterSlaveServerGroups
sidebar_position: 3
DescribeMasterSlaveServerGroups
Description
call DescribeMasterSlaveServerGroups to query the list of primary and standby server groups.
Request Method
POST
Request Path
/apsara/route/Slb/DescribeMasterSlaveServerGroups
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
LoadBalancerId | BODY | string | Yes | lb-bp14zi0n66zpg6o**** | load balancing instance ID. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C | request ID. |
MasterSlaveServerGroupId | string | rsp-0bfuc**** | primary and standby server group ID. |
MasterSlaveServerGroupName | string | Group3 | the name of the primary and standby server group. |
MasterSlaveServerGroups | array of masterslaveservergroup | No sample value for this parameter. | list of primary and standby server groups. |
MasterSlaveServerGroup | No sample value for this parameter. | No description for this parameter. |
Example
Successful Response example
{
"RequestId":"9DEC9C28-AB05-4DDF-9A78-6B08EC9CE18C",
"MasterSlaveServerGroupId":"rsp-0bfuc****",
"MasterSlaveServerGroupName":"Group3",
"MasterSlaveServerGroups":"",
"MasterSlaveServerGroup":""
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: DescribeRegions
sidebar_position: 3
DescribeRegions
Description
call DescribeRegions to query available regions.
Request Method
POST
Request Path
/apsara/route/Slb/DescribeRegions
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}
title: DescribeServerCertificates
sidebar_position: 3
DescribeServerCertificates
Description
invoke the DescribeServerCertificates to query the list of server certificates in the specified region.
Request Method
POST
Request Path
/apsara/route/Slb/DescribeServerCertificates
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
ServerCertificateId | BODY | string | No | 12315790xxxxxxx_166f8204689_1714763408_709***** | server certificate ID. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. you can query the region by calling DescribeRegions interface ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RegionIdAlias | string | cn-qingdao-env17-d01 | the region name of the load balancing instance. |
ServerCertificate | No sample value for this parameter. | No description for this parameter. | |
Fingerprint | string | 68:08:1a:f8:2c:97:69:a3:a1:e6:16:41:4b:ca:4f:5d:ee:a5:ef:0d | fingerprint of the server certificate. |
AliCloudCertificateName | string | testcertkey | the server certificate name of alibaba cloud certificate service. |
RequestId | string | 365F4154-92F6-4AE4-92F8-7FF34B540710 | request ID. |
IsAliCloudCertificate | integer | 0 | is it a certificate in alibaba cloud certificate service: 1: Yes. 0: no. |
ServerCertificates | array of servercertificate | No sample value for this parameter. | server certificate list. |
ServerCertificateId | string | 123157xxxxxxxx_166f8204689_1714763408_709981430-cn-east-hangz****** | server certificate ID. |
ServerCertificateName | string | slb | server certificate name. |
RegionId | string | cn-qingdao-env17-d01 | the region ID of the server certificate. |
AliCloudCertificateId | string | 7309xxxxxxxx_15d97e7709a_71445759hr_78928***** | the server certificate ID of alibaba cloud certificate service. |
StandardType | string | ServerCertificate | standard type. |
Example
Successful Response example
{
"RegionIdAlias":"cn-qingdao-env17-d01",
"ServerCertificate":"",
"Fingerprint":"68:08:1a:f8:2c:97:69:a3:a1:e6:16:41:4b:ca:4f:5d:ee:a5:ef:0d",
"AliCloudCertificateName":"testcertkey",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"IsAliCloudCertificate":"0",
"ServerCertificates":"",
"ServerCertificateId":"123157xxxxxxxx_166f8204689_1714763408_709981430-cn-east-hangz******",
"ServerCertificateName":"slb",
"RegionId":"cn-qingdao-env17-d01",
"AliCloudCertificateId":"7309xxxxxxxx_15d97e7709a_71445759hr_78928*****",
"StandardType":"ServerCertificate"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}